package com.teach.basic.model.dto;

import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @Author: Hzz
 * @Date: Created in 8:49 2020/5/2
 */
public class AssociatorDTO implements Serializable {
    private String id;
    @NotBlank(message = "会员昵称不能为空")
    private String name;
    @NotBlank(message = "性别不能为空")
    private String gender;
    @NotBlank(message = "会员头像不能为空")
    private String picUrl;
    @NotBlank(message = "openid不能为空")
    @ApiModelProperty(value = "会员openid")
    private String openid;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getPicUrl() {
        return picUrl;
    }

    public void setPicUrl(String picUrl) {
        this.picUrl = picUrl;
    }

    public String getOpenid() {
        return openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid;
    }
}
